﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 进场通知单
    /// </summary>
    [Table("PB_MobilizationNotice")]
    public partial class PB_MobilizationNotice
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 项目编号
        /// </summary>
        public String ProjectId { get; set; }

        /// <summary>
        /// 销售单位
        /// </summary>
        public String SaleUnitId { get; set; }

        /// <summary>
        /// 合作单位
        /// </summary>
        public String CooperativeUnitId { get; set; }

        /// <summary>
        /// 签订单位
        /// </summary>
        public String SignUnitId { get; set; }

        /// <summary>
        /// 业务类型
        /// </summary>
        public String TypeId { get; set; }

        /// <summary>
        /// 合同编号
        /// </summary>
        public String ContractNo { get; set; }

        /// <summary>
        /// 下发日期
        /// </summary>
        public DateTime? IssueDate { get; set; }

        /// <summary>
        /// 审核状态(0 待审核 1已审核 2 审核打回)
        /// </summary>
        public Int32? AuditStatus { get; set; }

        /// <summary>
        /// 删除状态
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public String ProjectName { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public String CreatorName { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Remark { get; set; }
        /// <summary>
        /// 签订单位名称
        /// </summary>
        public String SignUnitName { get; set; }
        /// <summary>
        /// 合作单位名称
        /// </summary>
        public String CooperativeUnitName { get; set; }
        /// <summary>
        /// 购销单位名称
        /// </summary>
        public String SaleUnitName { get; set; }

        /// <summary>
        /// 关联工作流编号
        /// </summary>
        public string WorkFlow { get; set; }
        /// <summary>
        /// 摘要
        /// </summary>
        public string Abstract { get; set; }
        /// <summary>
        /// 业务负责人
        /// </summary>
        public string BusinessLeader { get; set; }
        /// <summary>
        /// 跟单联系人
        /// </summary>
        public string DocumentaryContact { get; set; }

    }


    public class PB_MobilizationNoticeDto : PB_MobilizationNotice {
       /// <summary>
       /// 工作流名称
       /// </summary>
        public string WorkFlowName { get; set; }

    }
}